//
//  SWPhoto.swift
//  ChildStory
//
//  Created by linhan on 2016/11/16.
//  Copyright © 2016年 Aiya. All rights reserved.
//

import Foundation

class SWMBasePhoto: NSObject
{
    
}

class SWEventPhoto: NSObject
{
    
}

extension SWAssetRecord
{
    //是否已经被分类
    var classified:Bool{
        guard let id = eventID,valid && id != "" else{
            return false
        }
        return true
    }
    
    var valid:Bool{
        guard let id = localID,id != "" else{
            return false
        }
        return true
    }
}
